package com.niit.user.mapper;

import com.niit.user.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface UserMapper {

    User findById(@Param("id") String id);

    void updateById(@RequestBody User user);

    List<User> findAll(@Param("ids") List<String> ids);
}